package com.dragon.mmochat.message;

import com.dragon.mmochat.MmochatConstant;
import com.skymobi.buffer.SkymobiBuffer;
import com.skymobi.message.SkymobiProtocolMessage;

public class Mmochat_19_7C extends SkymobiProtocolMessage {
	int hallState;
	int roleId;
	int shopId;
	int shopVersion;
	int shopGridId;
	int packageGridId;
	long price;
	int num;

	public Mmochat_19_7C() {
		setMsgCode(MmochatConstant.MSGCODE_MMOCHAT_C_19_7);
	}

	@Override
	protected void decodeBody(SkymobiBuffer in) {
		hallState = in.getUnsignedShort();
		roleId = in.getInt();
		shopId = in.getInt();
		shopVersion = in.getInt();
		shopGridId = in.getInt();
		packageGridId = in.getInt();
		price = in.getUnsignedInt();
		num = in.getInt();
	}

	public int getHallState() {
		return hallState;
	}

	public int getRoleId() {
		return roleId;
	}

	public int getShopId() {
		return shopId;
	}

	public int getShopGridId() {
		return shopGridId;
	}

	public int getPackageGridId() {
		return packageGridId;
	}

	public long getPrice() {
		return price;
	}

	public int getNum() {
		return num;
	}

	public int getShopVersion() {
		return shopVersion;
	}

}
